<template>
  <div class="from">
    <el-form :model="userForm" :rules="rules" ref="userForm" label-width="100px">
      <el-form-item label="用户名：" prop="username">
        <el-input v-model="userForm.username"></el-input>
        <p>用户名允许使用大小写英文字母，中文，数字</p>
      </el-form-item>
      <el-form-item label="密码：" prop="userpasswd">
        <el-input type="password" v-model="userForm.userpasswd"></el-input>
        <p>至少6位，最长32位，必须包含大小写字母，数字，除空格以外的特殊符号</p>
      </el-form-item>
      <el-form-item label="确认密码：" prop="checkpasswd">
        <el-input type="password" v-model="userForm.checkpasswd"></el-input>
        <p>请重复上面输入的密码以确认输入正确</p>
      </el-form-item>
      <el-form-item label="权限设置：">
        <el-button type="primary" @click="premission()">权限设置</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>